BOOL CDlgDelete::OnInitDialog() 
{
	CDialog::OnInitDialog();
	// TODO: Add extra initialization here
    ((CButton*)GetDlgItem(IDC_RADIO_ALL))->SetCheck(1);
	GetDlgItem(IDC_EDIT_INDEX)->EnableWindow(false);	
	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

void CDlgDelete::OnRadioElement() 
{
	// TODO: Add your control notification handler code here
	GetDlgItem(IDC_EDIT_INDEX)->EnableWindow(true);	
	
}

void CDlgDelete::OnRadioAll() 
{
	// TODO: Add your control notification handler code here
	GetDlgItem(IDC_EDIT_INDEX)->EnableWindow(false);	
	
}

